package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业活动记录对象 sys_professional_activity
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
public class SysProfessionalActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private Long activityId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动类型（1=研讨会,2=培训,3=竞赛） */
    @Excel(name = "活动类型", readConverterExp = "1==研讨会,2=培训,3=竞赛")
    private String activityType;

    /** 合作类型（校企合作、校内活动等） */
    @Excel(name = "合作类型", readConverterExp = "校=企合作、校内活动等")
    private String cooperationType;

    /** 活动日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityDate;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String activityDesc;

    /** 合同文件路径 */
    @Excel(name = "合同文件路径")
    private String contractFile;

    /** 照片文件路径 */
    @Excel(name = "照片文件路径")
    private String photoFile;

    /** 状态（0=正常,1=已取消） */
    @Excel(name = "状态", readConverterExp = "0==正常,1=已取消")
    private String status;

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityType(String activityType) 
    {
        this.activityType = activityType;
    }

    public String getActivityType() 
    {
        return activityType;
    }
    public void setCooperationType(String cooperationType) 
    {
        this.cooperationType = cooperationType;
    }

    public String getCooperationType() 
    {
        return cooperationType;
    }
    public void setActivityDate(Date activityDate) 
    {
        this.activityDate = activityDate;
    }

    public Date getActivityDate() 
    {
        return activityDate;
    }
    public void setActivityDesc(String activityDesc) 
    {
        this.activityDesc = activityDesc;
    }

    public String getActivityDesc() 
    {
        return activityDesc;
    }
    public void setContractFile(String contractFile) 
    {
        this.contractFile = contractFile;
    }

    public String getContractFile() 
    {
        return contractFile;
    }
    public void setPhotoFile(String photoFile) 
    {
        this.photoFile = photoFile;
    }

    public String getPhotoFile() 
    {
        return photoFile;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("activityName", getActivityName())
            .append("activityType", getActivityType())
            .append("cooperationType", getCooperationType())
            .append("activityDate", getActivityDate())
            .append("activityDesc", getActivityDesc())
            .append("contractFile", getContractFile())
            .append("photoFile", getPhotoFile())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
